<extend name="User/index"/>
<block name="pageContent">
    <div class="faq-box">
        <div class="column-menu">
            <ul>
                <li <if condition="I('type')!='answer'">class="on"</if>><a href="{:U('', array('type'=>'ask'))}">我提问的</a></li>
                <li <if condition="I('type')=='answer'">class="on"</if>><a href="{:U('Ask/ask')}">我要提问</a></li>
            </ul>
        </div>
        <div class="list-box faq-con">
            <ul>
                <volist name="askList" id="vo">
                <li>
                    <h5><a href="{:U('Ask/detail', array('id'=>$vo['id']))}">{$vo.content}</a></h5>
                    <!--<p><span><?php echo intval((time()-$vo['create_time'])/60);?>分钟前</span><a href="#"></a></p>-->
                    <p style="margin: 3px 15px;font-size: 14px"><span>答：{$vo.acontent}</span></p>
                    <p style="margin: 3px 15px;text-align: right"><span>{:time_tran($vo['create_time'])}</span><a href="#"></a></p>
                </li>
                </volist>
            </ul>
        </div>
    </div>
</block>